package cn.shop.cloud.service;

import cn.shop.cloud.web.vo.SeckillGoodVo;

import java.util.List;

/**
 * @program: shop-parent
 * @ClassName ISeckillGoodService
 * @description:
 * @author: Mokio
 * @create: 2024−12-24 21:09
 * @Version 2024 2.2 ; jdk1.8.0_181
 **/
public interface ISeckillGoodService {

    public List<SeckillGoodVo> query();

    public SeckillGoodVo find(Long seckillId);

    public  void decrStock(Long seckillId);

    public  void syncRedisStcokCount(Long seckillId);

    public void incrStock(Long seckillId);
}

